package org.budo.support.java.io.util;

import java.io.IOException;
import java.io.OutputStream;

/**
 * @author lmw
 */
public class OutputStreamUtil {
    public static void write(OutputStream outputStream, byte[] bytes, int off, int len) {
        try {
            outputStream.write(bytes, off, len);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
